package com.kitty.spring.kittyUnifiedProcess.commons.constant;

/**
 * @Description 返回结果常量类，里面定义了状态码和对应的信息
 * @Author SHEN
 * @Date 2020/10/12
 */
public enum ResultConst {

    /**
     * 所有的状态都在此类进行开发维护
     */
    SUCCESS("00000","成功"),
    ERROR("00001","错误");



    private String code;
    private String msg;
    ResultConst(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
